<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::TransformShape&lt; BaseShapeType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_transform_shape.html">TransformShape</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_transform_shape-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::TransformShape&lt; BaseShapeType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A template shape in which coordinate transformation is applied before or/and after access the interface functions.  
 <a href="class_s_p_h_1_1_transform_shape.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="transform__shape_8h_source.html">transform_shape.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_shape_type.html">BaseShapeType</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0c2727564128c15fcdbd575d414e5cab"><td class="memTemplParams" colspan="2">template&lt;typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a0c2727564128c15fcdbd575d414e5cab"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_transform_shape.html#a0c2727564128c15fcdbd575d414e5cab">TransformShape</a> (const <a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a> &amp;transformd, ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a0c2727564128c15fcdbd575d414e5cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08031b5d0d42aaf7c5766ebbf24c6315"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_transform_shape.html#a08031b5d0d42aaf7c5766ebbf24c6315">getTransform</a> ()</td></tr>
<tr class="separator:a08031b5d0d42aaf7c5766ebbf24c6315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b96e2fd4cd2f373fa5aea9a99dc29bc"><td class="memItemLeft" align="right" valign="top"><a id="a4b96e2fd4cd2f373fa5aea9a99dc29bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTransform</b> (const <a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a> &amp;transformd)</td></tr>
<tr class="separator:a4b96e2fd4cd2f373fa5aea9a99dc29bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d91685092a028452f8485dc36b05de"><td class="memItemLeft" align="right" valign="top"><a id="a17d91685092a028452f8485dc36b05de"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkContain</b> (const Vecd &amp;input_pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true) override</td></tr>
<tr class="separator:a17d91685092a028452f8485dc36b05de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd795a342aa4652ba885a94e922d952"><td class="memItemLeft" align="right" valign="top"><a id="a5bd795a342aa4652ba885a94e922d952"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>findClosestPoint</b> (const Vecd &amp;input_pnt) override</td></tr>
<tr class="separator:a5bd795a342aa4652ba885a94e922d952"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:adaacde24ab4e8230c1d2d5252e53fabb"><td class="memItemLeft" align="right" valign="top"><a id="adaacde24ab4e8230c1d2d5252e53fabb"></a>
virtual <a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> () override</td></tr>
<tr class="separator:adaacde24ab4e8230c1d2d5252e53fabb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0c27720a1b5ce74ffb575662df112926"><td class="memItemLeft" align="right" valign="top"><a id="a0c27720a1b5ce74ffb575662df112926"></a>
<a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a>&#160;</td><td class="memItemRight" valign="bottom"><b>transformd_</b></td></tr>
<tr class="separator:a0c27720a1b5ce74ffb575662df112926"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class BaseShapeType&gt;<br />
class SPH::TransformShape&lt; BaseShapeType &gt;</h3>

<p>A template shape in which coordinate transformation is applied before or/and after access the interface functions. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0c2727564128c15fcdbd575d414e5cab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c2727564128c15fcdbd575d414e5cab">&#9670;&nbsp;</a></span>TransformShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseShapeType&gt; </div>
<div class="memtemplate">
template&lt;typename... ConstructorArgs&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_transform_shape.html">SPH::TransformShape</a>&lt; <a class="el" href="class_s_p_h_1_1_base_shape_type.html">BaseShapeType</a> &gt;::<a class="el" href="class_s_p_h_1_1_transform_shape.html">TransformShape</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a> &amp;&#160;</td>
          <td class="paramname"><em>transformd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ConstructorArgs &amp;&amp;...&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>template constructor for general shapes. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a08031b5d0d42aaf7c5766ebbf24c6315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08031b5d0d42aaf7c5766ebbf24c6315">&#9670;&nbsp;</a></span>getTransform()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseShapeType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_transform2d.html">Transformd</a>&amp; <a class="el" href="class_s_p_h_1_1_transform_shape.html">SPH::TransformShape</a>&lt; <a class="el" href="class_s_p_h_1_1_base_shape_type.html">BaseShapeType</a> &gt;::getTransform </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>variable transform is introduced here </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="transform__shape_8h_source.html">transform_shape.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
